package hbase.common;

import org.apache.hadoop.hbase.client.Delete;
import org.apache.hadoop.hbase.util.Bytes;

public class MyDelete extends Delete {
    
    public MyDelete(String row) {
        super(Bytes.toBytes(row));
    }

    public MyDelete(String row, long timestamp) {
        super(Bytes.toBytes(row), timestamp);
    }


    public Delete addFamily(String family) {
        return super.addFamily(Bytes.toBytes(family));
    }

    public Delete addFamily(String family, long timestamp) {
        return super.addFamily(Bytes.toBytes(family), timestamp);
    }

    public Delete addColumn(String family, String qualifier) {
        return super.addColumn(Bytes.toBytes(family), Bytes.toBytes(qualifier));
    }

    public Delete addColumn(String family, String qualifier, long timestamp) {
        return super.addColumn(Bytes.toBytes(family), Bytes.toBytes(qualifier), timestamp);
    }
}
